package resoft.jeasyform.util;

/**
 * <p>string util</p>
 * User: albert
 * Date: Aug 29, 2007
 * Time: 12:38:32 AM
 */
public class StringUtil {
    public static String getStringWithTailUnderLine(String str,int targetLength) {
        String newStr = str;
        int length = str.length();
        for(int i = 0;i<targetLength - length;i++) {
            newStr += "_";
        }
        return newStr;
    }
}
